package com.only4play.authcenter.controller;

import com.only4play.authcenter.req.PasswordLoginReq;
import com.only4play.authcenter.req.SmsLoginReq;
import com.only4play.authcenter.ret.LoginRet;
import com.only4play.common.model.JsonObject;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author hinzzz www.hinzzz.cn 157957329@qq.com
 * 2024-03-05
 */
@RestController
@RequestMapping(value = "v1/adminAccount")
public class AdminAccountController {

    //注册后台管理员账号
    @PostMapping(value = "registerAdminAccount")
    public JsonObject<LoginRet> registerAdminAccount(@RequestBody PasswordLoginReq passwordLoginReq){

        return JsonObject.success(  null);
    }


    //添加三方认证
    @PostMapping(value = "addThirdAuth")
    public JsonObject<LoginRet> addThirdAuth(@RequestBody PasswordLoginReq passwordLoginReq){

        return JsonObject.success(  null);
    }

}
